package com.qq.first_project.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class RecordVo implements Serializable {
    // 博客页面需要展示的信息
    private Long id;
    private String content;
    private String picUrl;
    private String nickname;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")// 出参格式化
    private Date createTime;
}
